package com.apple1.blogservices;

import com.apple1.blogentity.vo.CommentVo;

import java.util.List;

/**
 * 评论服务接口
 * @author chencheng
 */
public interface CommentService {


    int addComment(CommentVo commentVo);

    int delComment(Integer comment_id);

    int updateCommentById(Integer comment_id, CommentVo commentVo);

    List<CommentVo> selectCommentsByArticleId(Integer article_id);

    CommentVo selectCommentByTableId(Integer comment_id);

    int addCommentLikeById(Integer comment_id);

    int reduceCommentLikeById(Integer comment_id);

    int addCommentDislikeById(Integer comment_id);

    int reduceCommentDislikeById(Integer comment_id);


}
